Skip to content

Conversation

@donoghuc
Copy link
Member

@donoghuc donoghuc commented Jan 6, 2026

Release notes

Clean up unused files in x-pack for logstash artifacts.

What does this PR do?

This commit updates artifact generation to only include x-pack files which are needed at runtime for consumers of an artifact. Previously all files (including build/test/conf) were shipped which are unused at runtime and clutter up artifacts.

Why is it important/What is the impact to the user?

Clean up artifacts such that unused files are not installed.

Related issues

This commit updates artifact generation to *only* include x-pack files which are
needed at runtime for consumers of an artifact. Previously *all* files
(including build/test/conf) were shipped which are unused at runtime and clutter
up artifacts.
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)
  • /run exhaustive tests : Run the exhaustive tests Buildkite pipeline.

@mergify
Copy link
Contributor

mergify bot commented Jan 6, 2026

This pull request does not have a backport label. Could you fix it @donoghuc? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit.
  • If no backport is necessary, please add the backport-skip label

@donoghuc
Copy link
Member Author

donoghuc commented Jan 6, 2026

run exhaustive tests

For observabilitySRE container, add in fips config. Previously this was
bulk included with EVERY file under x-pack.
@donoghuc
Copy link
Member Author

donoghuc commented Jan 7, 2026

run exhaustive tests

@elasticmachine
Copy link

💚 Build Succeeded

History

@donoghuc donoghuc marked this pull request as ready for review January 7, 2026 21:11
Copy link
Contributor

@mashhurs mashhurs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@donoghuc donoghuc added the backport-active-all Automated backport with mergify to all the active branches label Jan 16, 2026
@donoghuc donoghuc merged commit bd4cec0 into elastic:main Jan 16, 2026
14 checks passed
@github-actions
Copy link
Contributor

@Mergifyio backport 8.19 9.1 9.2 9.3

@mergify
Copy link
Contributor

mergify bot commented Jan 16, 2026

backport 8.19 9.1 9.2 9.3

✅ Backports have been created

Details

mergify bot pushed a commit that referenced this pull request Jan 16, 2026
* Only ship x-pack library code with artifacts

This commit updates artifact generation to *only* include x-pack files which are
needed at runtime for consumers of an artifact. Previously *all* files
(including build/test/conf) were shipped which are unused at runtime and clutter
up artifacts.

* add config in observabilitySRE artifact

For observabilitySRE container, add in fips config. Previously this was
bulk included with EVERY file under x-pack.

(cherry picked from commit bd4cec0)
mergify bot pushed a commit that referenced this pull request Jan 16, 2026
* Only ship x-pack library code with artifacts

This commit updates artifact generation to *only* include x-pack files which are
needed at runtime for consumers of an artifact. Previously *all* files
(including build/test/conf) were shipped which are unused at runtime and clutter
up artifacts.

* add config in observabilitySRE artifact

For observabilitySRE container, add in fips config. Previously this was
bulk included with EVERY file under x-pack.

(cherry picked from commit bd4cec0)

# Conflicts:
#	rakelib/artifacts.rake
mergify bot pushed a commit that referenced this pull request Jan 16, 2026
* Only ship x-pack library code with artifacts

This commit updates artifact generation to *only* include x-pack files which are
needed at runtime for consumers of an artifact. Previously *all* files
(including build/test/conf) were shipped which are unused at runtime and clutter
up artifacts.

* add config in observabilitySRE artifact

For observabilitySRE container, add in fips config. Previously this was
bulk included with EVERY file under x-pack.

(cherry picked from commit bd4cec0)
mergify bot pushed a commit that referenced this pull request Jan 16, 2026
* Only ship x-pack library code with artifacts

This commit updates artifact generation to *only* include x-pack files which are
needed at runtime for consumers of an artifact. Previously *all* files
(including build/test/conf) were shipped which are unused at runtime and clutter
up artifacts.

* add config in observabilitySRE artifact

For observabilitySRE container, add in fips config. Previously this was
bulk included with EVERY file under x-pack.

(cherry picked from commit bd4cec0)
donoghuc added a commit that referenced this pull request Jan 16, 2026
* Only ship x-pack library code with artifacts

This commit updates artifact generation to *only* include x-pack files which are
needed at runtime for consumers of an artifact. Previously *all* files
(including build/test/conf) were shipped which are unused at runtime and clutter
up artifacts.

* add config in observabilitySRE artifact

For observabilitySRE container, add in fips config. Previously this was
bulk included with EVERY file under x-pack.

(cherry picked from commit bd4cec0)

Co-authored-by: Cas Donoghue <[email protected]>
donoghuc added a commit that referenced this pull request Jan 16, 2026
* Only ship x-pack library code with artifacts

This commit updates artifact generation to *only* include x-pack files which are
needed at runtime for consumers of an artifact. Previously *all* files
(including build/test/conf) were shipped which are unused at runtime and clutter
up artifacts.

* add config in observabilitySRE artifact

For observabilitySRE container, add in fips config. Previously this was
bulk included with EVERY file under x-pack.

(cherry picked from commit bd4cec0)

Co-authored-by: Cas Donoghue <[email protected]>
donoghuc added a commit that referenced this pull request Jan 16, 2026
…18592)

* Only ship x-pack library code with artifacts (#18548)

* Only ship x-pack library code with artifacts

This commit updates artifact generation to *only* include x-pack files which are
needed at runtime for consumers of an artifact. Previously *all* files
(including build/test/conf) were shipped which are unused at runtime and clutter
up artifacts.

* add config in observabilitySRE artifact

For observabilitySRE container, add in fips config. Previously this was
bulk included with EVERY file under x-pack.

(cherry picked from commit bd4cec0)

# Conflicts:
#	rakelib/artifacts.rake

* fix merge conflicts

---------

Co-authored-by: Cas Donoghue <[email protected]>
donoghuc added a commit that referenced this pull request Jan 16, 2026
…#18591)

* Only ship x-pack library code with artifacts (#18548)

* Only ship x-pack library code with artifacts

This commit updates artifact generation to *only* include x-pack files which are
needed at runtime for consumers of an artifact. Previously *all* files
(including build/test/conf) were shipped which are unused at runtime and clutter
up artifacts.

* add config in observabilitySRE artifact

For observabilitySRE container, add in fips config. Previously this was
bulk included with EVERY file under x-pack.

(cherry picked from commit bd4cec0)

* Ship x-pack/modules with 8.19

In the 8.19 logstash release track the x-pack/modules directory
is required in addition to x-pack/lib in build artifacts.

---------

Co-authored-by: Cas Donoghue <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-active-all Automated backport with mergify to all the active branches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up x-pack files shipped with logstash artifacts

3 participants